{% extends "base.html" %}

{% block title %}
    注册
{% endblock %}

{% block register %}
    active
{% endblock %}


{% block body %}
    <form action="{% url "register" %}" method="post">
    {% csrf_token %}
        <table>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="username"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="text" name="password"></td>
            </tr>
            <tr>
                <td>确认密码</td>
                <td><input type="text" name="password2"></td>
            </tr>
            <tr>
                <td>联系电话</td>
                <td><input type="text" name="tel"></td>
            </tr>
            <tr>
                <td><input type="submit"></td>
                <td></td>
            </tr>

        </table>
    </form>
{% endblock %}